#ifndef BFSALGORITHM_H
#define BFSALGORITHM_H

#include <QObject>
#include <QList>

class Node;
class QGraphicsScene;

class BFSAlgorithm : public QObject
{
    Q_OBJECT
public:
    BFSAlgorithm();
    void printPath(QGraphicsScene *pScene, Node *pFromNode, Node *pToNode);
    void findPath(Node *pFromNode, Node *pToNode);

signals:

public slots:

private:
    void searchPath(QGraphicsScene *pScene, Node *pFromNode);


private:
    QList<Node *> m_nodeList;
};

#endif // BFSALGORITHM_H
